package com.woniu.houtai.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.houtai.entity.Comment;
import com.woniu.houtai.vo.CommentVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author firstGroup
 * @since 2023-02-22 09:45:58
 */
public interface CommentService extends IService<Comment> {

    List<Comment> queryComments(Integer shopId);

    int updatrToReply(Integer commentId,String reply);

    Comment queryOne(Integer commentId);

    Page<CommentVo> queryCommentsAndDetails(Integer currentPage,Integer pageSize,Integer shopId);
}
